/* updated 2022/03/10 */
@import url(./iconfont.css);

* {
  border: 0px;
  padding: 0px;
  margin: 0px;
  font-weight: inherit;
  font-size: inherit;
}
html {
  font-size: var(--zui-size-text-regular);
  color: var(--zui-color-text-primary);
}
img,
object {
  max-width: 100%;
  -ms-interpolation-mode: bicubic;
}
input,
textarea,
select {
  background: none;
  border: none;
  outline: none;
  user-select: auto;
  appearance: none;
}
a,
a:link {
  text-decoration: none;
  color: var(--zui-color-text-primary);
}

ul,
li {
  list-style-type: none;
}

button,
.clickable {
  transition-property: color, opacity;
  transition-timing-function: ease-in-out;
  transition-duration: 0.05s;
  cursor: pointer;
  outline: none;
}

input[type='text'],
input[type='email'],
input[type='tel'],
input[type='url'],
input[type='search'] {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}

:root {
  --zui-color-primary: #4e73be;
  --zui-color-primary-rgb: 78, 115, 190;
  --zui-color-primary-light: #738dc0;
  --zui-color-green: #378901;
  --zui-color-red: #d45f5f;
  --zui-color-red-light: #fad1d1;
  --zui-color-red-lighter: #fef6f6;
  --zui-color-yellow: #df9f06;

  --zui-color-gray: #d5d5d5;
  --zui-color-gray-light: #f5f5f5;

  --zui-color-background: var(--zui-color-gray-light);

  --zui-color-text-primary: #323232;
  --zui-color-text-regular: #666666;
  --zui-color-text-secondary: #8f949b;
  --zui-color-text-placeholder: #c5c5c5;

  --zui-color-border: #dcdfe6;
  --zui-color-divider: #dcdfe6;

  --zui-color-shadow-colorful: rgba(167, 193, 234, 0.538);
  --zui-color-shadow: rgba(223, 228, 236, 0.538);
  --zui-color-shadow-light: rgba(223, 232, 236, 0.27);

  --zui-color-fill: #f0f2f5;
  --zui-color-fill-dark: #ebedf0;
  --zui-color-fill-light: #f5f7fa;

  --zui-size-text-xsmall: 10px;
  --zui-size-text-small: 12px;
  --zui-size-text-regular: 15px;
  --zui-size-text-large: 17px;
  --zui-size-text-xlarge: 21px;
  --zui-size-text-xxlarge: 26px;

  --zui-size-line-height-regular: 20px;
  --zui-size-line-height-large: 24px;
  --zui-size-line-height-small: 18px;

  --zui-size-border-radius-regular: 6px;
  --zui-size-border-radius-small: 3px;

  --zui-box-shadow: 0px 2px 6px 0px var(--zui-color-shadow);
  --zui-box-shadow-colorful: 0px 2px 4px 0px var(--zui-color-shadow-colorful);
  --zui-box-shadow-light: 0px 2px 4px 0px var(--zui-color-shadow-light);
}

// Only apply user-select: none on mobile devices
@media (max-width: 768px) {
  html {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
  }
}

@media (min-width: 769px) {
  html {
    -webkit-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
  }
}
